package com.learn.springbootcache.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * @author Jmy
 * @date 2019/10/18 15:04
 * @email jiaomingyu5778@gmail.com
 */
@Data
@Repository
public class ChinaRegion implements Serializable {

    private static final long serialVersionUID = 4155350978927534659L;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer id;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer provinceId;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String provinceName;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer cityId;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String cityName;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer countyId;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String countyName;
    private Integer townId;
    private String townName;

}
